(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    ...when the javascript side menu item is clicked, it'll run a js on the onclick or mouseup event...

Return to Recent Questions


Q: What I mean is I still want the destination page to be static in the var menuitems but when the javascript side menu item is clicked, it'll run a js on the onclick or mouseup event.

Is this possible?

something like:

var menuItems = [
["text", "home", "javascript:onclick=your_code_here"]
];

A: You can achieve this by using standard html objects within javascript side menu items, for example:

var menuitems = [
["<div onContextMenu='your_code_here'>item text</div>", ""]
];

Actually you can use any html code within menuItems.






Return to Recent Questions

Related:
Perfect Responsive JS Website Templates Review Best 46 Fresh CSS Themes Collection  |  Beautiful JS Page Theme Review  |  Splendid JS Design Maker Overview  |  46 Fantastic CSS3 Web Page Templates Overview  |  AMP Mobile Page Template Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Generator | Website Generator AI | AI web design generator | AI web page design generator